﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Nivdal.Old_App_Code
{
    public class Sponser
    {

        public static void SponsorLogin(string email, string password)
        {
            GetNivdalData.GetNivdalData GND = new GetNivdalData.GetNivdalData();
            HttpContext.Current.Session["SponsorId"] = GND.ReadNivdalIntData("email", "password", "Nivdal_NewSponsorLoginProcedure", email, password);
        }

        public static void SponsorLogout()
        {
            HttpContext.Current.Session["SponsorId"] = 0;

        }


    }
}